package acm.天梯赛练习2;

import java.util.Scanner;

public class B {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int i=1;
        while (sc.hasNext()){
            double r = sc.nextInt();
            if (r==0){
                return;
            }
            double a = sc.nextDouble()/2;
            double b =  sc.nextDouble()/2;
            System.out.println((a*a+b*b<=r*r)?"Pizza "+i+" fits on the table.":"Pizza "+i+" does not fit on the table.");
            i++;
        }
    }
}